SQL Server : dynamically select column based on another select column

visit shbcf.ru